/**
 * ServerDaoImpl.java
 * com.sitech.system.server.dao.impl
 * Function： TODO 
 *
 *   ver  author   date    
 * ──────────────────────────────────
 *   	 geutopia  Jan 28, 2011        
 *
 * Copyright (c) 2011, TNT All Rights Reserved.
 */

package com.sitech.server.dao.impl;

import java.util.List;

import com.sitech.dao.BaseDao;
import com.sitech.server.dao.ServerDao;
import com.sitech.server.domain.ServerInfo;

/**
 * ClassName:ServerDaoImpl Function: TODO ADD FUNCTION Reason: TODO ADD REASON
 * 
 * @author geutopia
 * @version
 * @since Ver 1.1
 * @Date 2011 Jan 28, 2011 2:00:38 PM
 * 
 * @see
 */

public class ServerDaoImpl extends BaseDao implements ServerDao
{

	/**
	 * (non-Javadoc)
	 * 
	 * @see com.sitech.system.server.dao.ServerDao#getServer(com.sitech.system.server.domain.ServerInfo)
	 */
	public List<ServerInfo> getServer(ServerInfo serverInfo)
	{
		return query("getServer", serverInfo);
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see com.sitech.system.server.dao.ServerDao#insertServer(com.sitech.system.server.domain.ServerInfo)
	 */
	public void insertServer(ServerInfo serverInfo)
	{
		insert("insertServer", serverInfo);
	}

	/**
	 * (non-Javadoc)
	 * 
	 * @see com.sitech.system.server.dao.ServerDao#updateServer(com.sitech.system.server.domain.ServerInfo)
	 */
	public void updateServer(ServerInfo serverInfo)
	{
		update("updateServer", serverInfo);
	}

	public List<ServerInfo> queryAllServerList()
	{
		return query("queryAllServerList");
	}

}
